RUBY-550 adding test to reproduce timeout socket mangling