Added partial PING/PONG functionality.