Added http.mux based routing

Would be nice if these line-drops were lined up with the start of config so they don't blend into the function body.