I am looking for a secure protocol that supports
- (authentication)
- transsport layer security (TLS)
- bidirectional data streams
to exchange JSON-formatted message payloads.
I've already looked at HTTP-based protocols like BOSH and cometD, but the current problem I see when exchanging data frequently is the HTTPS overhead, since the payload consists of very high frequent measurements and control messages.