fix #266: memory allocation issue with request header processing