Added old http protocol implementation