httpcomponent 4.3.2 compatible code. test added and findbugs added