Moved clean_result to modules/http_client.rb

Because it's useful for anything that's going to be using http_client.