Updated for the new ServerAPI in engine-io-1.1.
ServerAPI
engine-io-1.1
Fixed incomplete pattern matches when parsing request method.