Returned an event emitter after a connection is established.
Created the #emit and #on events and returned the channel mapping object.