Add some functions for dealing with socket events. Add auth function. Don't use browserify for the node version. Add a watch gulp task.