Forked version of https://code.google.com/p/nginx-upstream-jvm-route/