
inline void
  http_parser_init(http_parser* parser)
{
  void *data = parser->data; /* preserve application data */
  memset(parser, 0, sizeof(*parser));
  parser->data = data;
  parser->state = s_start_req;

inline void
  http_parser_init(http_parser* parser)
{
  void *data = parser->data;  
  memset(parser, 0, sizeof(*parser));
  parser->data = data;
  parser->state = s_start_req;