deprecating SocketInput/OutputStream