Remove commented out code.
Make cluster workers get the current maintenance mode from the cluster master before starting.
Make separate error handlers for http and websockets.
- websockets have no response object
- for websockets, instead of res.end(), we do socket.destroy()
- don't try to send a response if it's already been sent
Create domain inside amino.createGateway call.
- gives it access to `res` variable
- don't need it in the outer scope
Listen for worker disconnect and respawn immediately.
Don't try to send a reponse from the domain error handler. It's always too late (and `res` is undefined).
Merge branch 'fix-error-handling' into develop