Added helper method .log() to the http-client.