add end pointed connected override to the handler

the new endpoint connected callback is mandatory in the handler
interface, without it the README example doesn't work
only socketio client has endpoints, normal websocket doesn't
Merge pull request #18 from liorsion/master

README fix for endpoint callback