using java6
removing ending slash from uri
Merge branch 'master' of github.com:choreos/choreos_middleware