Fixes #54 by handling non-200 post responses

I think there are other places to look at, but here's a start for your review.
Merge pull request #58 from rfay/master

Improve handling of contact request failures by checking http response