Moving https to http translation closer to the source.