minor refactor
Merge branch 'socket_auth' of github.com:invisiblejs/invisible into socket_auth