am 2d8fd9be: Help the caller along if a malformed URI is used to make an HTTP request.

* commit '2d8fd9bea30efcae4cc418e223f2c61febe0caa0':
  Help the caller along if a malformed URI is used to make an HTTP request.