Switched to HttpClient in jenkins client