Added afproto.py with framing