convert

Convert a server-side TcpChannel to SslConnection or plain TcpConnection.

This is for server side only, `clientMode` must be false.

Initial bytes from the client is used to detect the type of the connection.
The app protocol must
have the client write some data first; and the first byte of the app data
must not be 22 (0x16). For example, HTTP protocol satisfies these requirements.