properly handle exceptions in openUrl
at long last, proper handling of cURL exceptions... I think
reformatting, mostly let/in indentation
bump version and haskell-style comma-leading lists