add status code tests
use http_parser_parse_url