Remove dependency on application-http.

Reviewed at https://reviews.apache.org/r/27375/