Moved enforceHttp from http.server to http.common.