make Socket stuff work under 1.8.7 too
add rvm detection to thread booting, just for travis ci
require rubygems in boot_isolated