Adding ability to bind callbacks on the fly for WebSockets.