Development and analysis of membrane contactor for resource recovery from wastewater