Use server/index.js instead of server.js, update readme.
Don't directly wrap http module.

All of this wrapping is dangerous and in retrospect it's totally over-designed and error-prone.
HTTPS support.