allow multiple headers with same name in trailer
move test code from JavaHttpTest to HttpTestClient