Removed ServerSocket from the TCPClient object, as this is only needed
in the TCPServer.

Created a function that uses a dummy socket to test if the server is
still alive.
Implemented a dummy socket to test if server is still alive