add ping/pong support