Implemented an API to route incoming HTTP requests to HTTPS request