Code Cleanup

Socket.getInputStream() never returns null (see docs).