title: Node.js HTTPParser doesn't call some of the callbacks
body: <p>I'm playing with HTTPParser in Node.js v0.8.15. Unfortunately, some of the callbacks never get called.</p>
  
  <p>For example, the following code invokes only <code>onHeadersComplete</code>. Couldn't manage to make it call <code>onURL</code>, <code>onHeaderField</code> and <code>onHeaderValue</code>.</p>
  
  <pre><code>var
      HTTPParser = process.binding('http_parser').HTTPParser,
      parser = new HTTPParser(HTTPParser.REQUEST),
      request = new Buffer(
          'GET /test HTTP/1.1\r\n' +
          'Host: www.example.com\r\n' +
          'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/17.0 Firefox/17.0\r\n' +
          'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n' +
          'Accept-Language: en-US,en;q=0.5\r\n' +
          'Accept-Encoding: gzip, deflate\r\n' +
          '\r\n'
      );
  
  parser.onURL = function() {
      console.log('onURL');
  }
  
  parser.onHeaderField = function() {
      console.log('onHeaderField');
  }
  
  parser.onHeaderValue = function() {
      console.log('onHeaderValue');
  }
  
  parser.onHeadersComplete = function() {
      console.log('onHeadersComplete');
  }
  
  parser.execute(request, 0, request.length);
  </code></pre>
  
  <p>What's wrong?</p>