fix http protocol