[fix] Allow async execution of the connection event to mimic socket.io's middleware