Every line of Java that you see in this PR is a direct port of clojure functionality from http-kit.