Return pings sent by peer.
Return pongs sent by peer.
Optional
Send ping to peer and return ping data.
Send pong to peer.
Connect to server, run callback and close the connection.
callback
The function to execute whilst connected to server
Return pings sent by peer.