My setup:
You can force the protocol with the last @patricus solution using this:
$this->app['url']->forceScheme('https');