Added optimist to deps,
remove require statement from client-side js.
Added socket.io redis support. Ssl is now passed throught env.