Abstract event manager

sharing event manager API
same comments on wrapping ip+port for IPv6