Close the transport.
Invokes the watcher callback.
Returns true if the transport is closing or closed.
Write some data to the transport.
Switches the protocol.
Received notification that the underlying socket is write-ready.
Switches the protocol.
Returns true if the transport is closing or closed.
Close the transport.
Transport for stream sockets.