Move Class SocketStream to SharedInterface