Partial Close
l One solution is for the client to shut down
only it’s writing end of the socket.
l The shutdownOutput() socket call
provides this function.
  mySocket.shutdownOutput();
shutdownOutput() flushes output stream and
sends TCP-connection termination sequence.
shutdownInput() closes input stream and discards
any further information (further read()s will get -1)