simplifying code, thanks Carlson.
Add client certificate support
Moved add cert to post_message methods.
DRYing post_message
Merge pull request #20 from mitodl/feature/certificate

Ready for review:Add client certificate support