we should use wss:// if we use https://

please apply my patch