When trying to use a custom node, it forces us to use wss://, ws:// should be supported as well. For local trusted environments there is no reason to force encryption.