Send pongs.

Send pong.
Listen for connections.
Fix error handling.