like cURL but simpler and written in Ruby