https support if reverse proxy used

Added https support to function getAbsoluteVfsUrl if reverse proxy is
used.