httpendpoint: Set a dedicated callback to process buffers in POST mode

Change-Id: Id47afe39ab50ad592f3a30172b1820c650e2e63f