HTTP: handle "relative" redirects

This allows the URL-parsing machinery to correctly handle redirect locations that begin with `/`, in addition to the protocol-prefixed URLs that were already handled. This should correct failures such as [this](https://travis-ci.org/libgit2/libgit2/jobs/12068704#L827).