fix: fix server attachment (#4127)
fix: fix server attachment (#4127)

The check excluded an HTTPS server from being properly attached.

Related: https://github.com/socketio/socket.io/issues/4124
socketio/socket.io,Automattic/socket.io,Automattic/socket.io,mosoft521/socket.io,mosoft521/socket.io,socketio/socket.io