Fix issue where ap_get_brigade() returns fewer bytes than needed to parse the PDU length

Fixes #1
Merge branch 'issue_1'