enforce ipv4 for now; support ruby1.9; handle slightly different connection report from linux