bring in perf patch from https://github.com/ifsnow/socket.io/commit/24e406cebccf95c9f69d9a630098ab3361a17c73