bug fix
fix nil pem, add test, cleanup hardcoding
Merge pull request #22 from heisler3030/fix_nil_pem

Fix hardcoding and PEM utility
better passthrough of error messages, plus test
DRY up HTTP request/error handling
remove dead code
Merge branch 'better_errors'
working rebased pairing