Fix a bug when receiving a relative redirect location

Currently when you use a provider that somewhere along the line uses
Chef::HTTP.request or Chef::HTTP.streaming_request, you will receive an
error when the response is a redirect with a relative location.
Updated the code after discussing with @btm, @lamont-granquist  and @danielsdeleo
Merge pull request #1827 from svanharmelen/fix-redirect-bug

Fix a bug when receiving a relative redirect location