Make API logging more useful

Make the API client log out a warning whenever an HTTP 4XX or 5XX response is
received. Demote messages detailing the contents of every single request and
response from priority "info" to "debug".