Fixes for travis CI

 - require v0.9.0 of thrift for test to support jruby (v0.9.1 requires thin)
 - support ruby 1.8 regexp with missing \h
Reorganize and clean up based on review feedback
Fix for #1: catch errors on DNS lookup
Update version, prepare to ship v0.2.3