Application of electro-catalytic mediated oxidation for the treatment of a spent textile bath in a membrane reactor