Cleanup in app.stop()
Move http port from settings to code.
Set app.locals.site as object.
Support https.