refactor request handling in bitpay client
Merge pull request #14 from arrtchiu/exception_handling

refactor request handling in bitpay client