ruby/ruby — pull request #72 by jaygen (2011-12-30 16:01:22+00:00)
Title: Writing entire packet at once to avoid incomplete transmission

Current code using `writeline` was causing sub-optimal conversing with a proxy due to the connect tunnel request headers being split over multiple packets. The modification I made allows the connect request to be written as one packet, avoiding problems and optimizing the conversation.