Corrected naming of clientSocket to socket.
it had to go...