Multiple bug fixes

* doesn't try to update address book URL when there is no sync-able address book (fixes #208)
* add test for HTTPS/SNI