Pass a copy of the control frame buffer to ping/pong callbacks (#116)
Since the new and old methods are only overloads and share the same name, the ‘renamed’ parameter of the deprecation warning doesn’t help.
This preserves the signature of the original method and doesn’t break the API
- Apply suggestions from code review
New APIs should use safe code
Co-authored-by: Tim Condon 0xTim@users.noreply.github.com