Update request to 2.48 and use built-in querystring support
Merge pull request #324 from Alaneor/update-request

Update request to 2.48 and use built-in querystring support
Improve 890b8e7

Also handle client (4xx) HTTP errors
Return actual instance or Error when an HTTP error occurs