Add utils.py

Move a decorator function into this file.
Improve comments in hdlc_parser.py
Add hdlc_frame.py

This file defines a construcor for HDLC-like frame.