Rather than throwing error when protocols differ, try changing the protocol to match and send the request again