Hello,  I'm going to merge this pull request "Writing entire packet at once
to avoid incomplete transmission".

https://github.com/ruby/ruby/pull/72 

If you have any opinions let me know (either in this list or at the web).