move chop_pdu_stream to pdu_utils.py