Implement pong command

Added support for the PONG command, useful to prevent ping timeouts.