service metadata takes into account request protocol