more unit tests, tweaks to HttpParser.__str__