Register https mock to fix test warnings.