Attaches socket.io to a port.
Future<void> listen(dynamic host, int port, [Map? opts]) async { await _attach(host, port, opts); }