Remove usage of HTTP constants class from Apache dependency.