Refactor Overlay, HTTP::Server for universal port

These refactorings are required to support the universal port.