Support agent on multiple platforms

Part-2 chagnes to support packet handler on different platforms

- Move adding of agent_hdr to pkt_interface class
- Define a simple buffer class
- Modify packet Tx routines to use packet buffer

Change-Id: If3417580273f7eb5964090eb58cbfb267a9ef988
Merge "Support agent on multiple platforms"