Fix write override by Socket#connect (Issue #2)