change connect event to emit socket
Merge pull request #123 from nickpoorman/connect-emit-socket

change connect event to emit socket