Fix a bug where on HTTPS connections the retrieval of bells would fail