This commit corrects changes mistakenly added to lib/18/socket.rb.
It also adds ruby version guards to ensure the specs only run against 1.9
Remove 1.8-incompatible changes to #setsockopt
@brixen Really sorry, was hoping to get this fix into the #2040 pull request before you merged it. This now accurately reflects behaviour on MRI 1.8
@warrenseen Thanks! 👍