Improve OFTLSSocket protocol.