Added a ping/pong component.

The bot will now properly reply to PING messages from the server with the
appropriate PONG message.