Added a specific exception for wrong scheme. Most commonly http instead of https.