Provide config option to force SSL in upload url

Fixes url and ssl configurations