WIP Rewriting node server to handle multiple proxies