Pass a copy of the control frame buffer to ping/pong callbacks
This patch was authored by @tkrajacic and released by @0xTim.
This PR enables access to the data in the control frames handled via onPing
/onPong
via a new API with the existing onPing
and onPong
methods being deprecated.