moved '\n' replacement to enforcer,
because it is protocol dependent.