Get the real protocol behind several proxies

X-Forwarded-Proto contains a list of protocols if ownCloud is behind multiple reverse proxies.