changed HTTP_VERSiON constant value, because the client supports just HTTP/1.1

renamed the function realDbReplication in doReplication

fixed the parameters on the same function