Correct parser bug

1. Correct bug for message which is constituted by more than one packet.
2. Correct bug for packet of which the tag is more than one byte.