Unit test for HttpdParser.