Change the SocketOutputStream to OutputStream.....