Be able to set headers and max redirects in JavaClient
add .travis.yml