switched to embedded jetty for doing all the http stuff