isConnected

True if a handshake has been completed for this connection. Used to
determine whether a handshake need be completed prior to a one-way
message. Requests and responses are always prefixed by handshakes, but
one-way messages. If the first request sent over a connection is one-way,
then a handshake-only response is returned. Subsequent one-way messages
over the connection will have no response data sent. Returns false by
default.

setRemote

Called with the remote protocol when a handshake has been completed.
After this has been called and while a connection is maintained, Transceiver.isConnected() should return true and #getRemote() should return this
protocol. Does nothing by default.