Updates to CONTRIBUTING.rst and added trigger_deferred and handle_pong (and associated tests).