added http parser, fixed some crashes