Merge pull request #1 from bitpay/master

update to latest
add log messages for easier debugging
Update README.md

"Tested against 5.2.3"
Merge pull request #3 from jaafit/master

Added logging output