Closes #2838 adds secure-proxy option to serve command