on-the-fly http parser