Consider the case when packet.id is 0 (v1.0)

Related commit: https://github.com/LearnBoost/socket.io-protocol/commit/344323a314cee564992ec853a0dfc7a23d581ccc