token methods refactor and basic code for socket auth
fixes
added auth example
bypassing unauthenticated clients when emitting events
authenticate socket once per client
moved socket auth to a new module
fix indentation
moved auth tests to a new file
added socket auth test stubs
replaced socket mock with an event emitter
added socket auth tests for the client
added server socket auth tests
more tests for server socket auth
added socket authorization method and tests
fixes
updated auth example
Added allowEvents to readme
minor refactor
Merge branch 'socket_auth' of github.com:invisiblejs/invisible into socket_auth
created examples folder