[userModule Dependencies] @type {[CommonJS]}
Expose config as globals
for example redishost
etc.
[Logger, for all our needs] @type {[Logger]}
connect to Redis @type {[Redis]}
[server: our Proxy Server] @type {[proxyServer]}
[OwlServer: Https Listener] @type {[proxyServer]}
[servers arrayList] @type {[Array]}
[Listen to all incoming http requests] @param {[http request]} req [http incoming request] @param {[http response]} res [http outgoing response] @type {[EventListener]}
[Listen to all incoming http connects] @param {[http request]} req [http incoming request] @param {[tcp socket]} socket [tcp incoming socket] @param {[Buffer head]} head [Buffer::Incoming] @type {[EventListener]}
w/o this handler, socket is destroyed :: socket.destroy() https://github.com/joyent/node/blob/master/lib/httpserver.js#L381
create the listeners outside, for perf reasons.
do nothing here ..
have some neat logic here ..
[httpServer Error Handler] @type {[EventListener]}
[start the Server] @type {[proxyServer]}
[process Event Handlers] @type {[EventListener]}
[Module Dependencies] @type {[CommonJS]}