Add hdlc_parser class.

This class takes fragmented HDLC encapsulated data, decode its frame
structure and return the clean HDLC frame.
Complete hdlc_parser.

And fix a bug caused by escaped FCS.