update imports in readme
supress panic and gracefully return an error
Merge pull request #4 from tmc/master

Fail more gracefully when you can't connect