Added secure proxy support for generated URLs

Signed-off-by: David Saradini <david.saradini@me.com>