README fix for endpoint callback

the new endpoint connected callback is mandatory in the handler
interface, without it the README example doesn't work