Call accept on the socket and return the result as a SocketStream.
Enforce that check is true, and throw a SocketException if it isn't.
A stream that wraps a socket with buffered writes.
A wrapper around a socket that provides stream functionality without buffering.