Fixed url generation when deltacloud is behind a proxy or load balancer. The url_for helper wasn't properly honoring the scheme and port forwarded from a frontend load balancer or proxy.