youngj/EnvayaSMS — pull request #29 by dadicool (2012-06-11 07:25:04+00:00)
Title: Use the right HTTP header to pull the URL used in computing the signature

HTTP_HOST is not the correct public url when the gateway is running on
server behind a Load Balancer. This is particularly useful when deploying
gateway.php on a Paas service.

Tested on HTTP and HTTPS traffic with SSL termination on Load Balancer.