Add debug prints to http_client.rb