Add types to make dialyzer happy. Main httpcluster.erl almost done.