Added Input Streams and Socket Handling

Now, the Server should be able to detect when the socket is not able to
detect when the Client has dropped.