Ensure request protocol and method are displayed only if available.