Ping message now works on server's local IP address allowing outside possibility of pinging. When the server is closed by anything it will stop the current ping server and open another.

Also added two bytes before the ping message to indicate the size of the message to prevent unnecessary reading.