Should check packet.id for non-null, not 0

Like the server does!!!
Merge pull request #609 from kevin-roark/fix/event-emitter-callback-bug

Should check packet.id for non-null, not 0