Poison resistant catalysis with microporous catalyst membranes