Maintaining separate HTTP and HTTPS requests to origin servers