HTTP::Request#to_typhoeus: Code cleanup