Classes that implement the socket protocol handler.