I've tried to add some code to make packets.  It's a starting point.