Proxy and LoadBalancer support

Please merge the following to add support for proxy and load balanced Drupal sites.