If you use .connect the way the documentation says you should, the protocol has no effect on what the system does. After inspecting the code I saw I had to add secure: true to the option object. But it should have deducted that from inspecting the protocol.