Added a ping

Checks the clients ping to the server, so that the user can be informed
on how quick the game responds to commands.