Add SSL certificate pinning. Implements https://redmine.stoutner.com/issues/54.