x-forwarded-proto returns https, need to check against it so that we can return a proper prefix