Use request protocol for configured Jenkins url

Jenkins serves preconfigured url by default from `getRootUrl`. It is problematic for instances operating under both http and https protocol. This change makes `getRootUrl` return the same protocol as in current request.