Fixing autorefresh for https urls, with apache proxy in front

When you have an apache with a https vhost in front - autofresh does not work - as the request.url is being set to http://$url - ie. wrong scheme :(

I fixed it by using a relative URL for the refresh instead.