Read up to maxBytes from the peer.
Read up to maxBytes from the peer. If timeout is provided
and the operation does not complete in the specified duration,
the returned Process fails with a java.nio.channels.InterruptedByTimeoutException.
Close the connection corresponding to this Socket.
Indicate to the peer that we are done writing.
Ask for the remote address of the peer.
Write bytes to the peer.
Write bytes to the peer. If timeout is provided
and the operation does not complete in the specified duration,
the returned Process fails with a java.nio.channels.InterruptedByTimeoutException.