Ruby RestClient extensions