sample program of joyent/http_parser