Clean up code to filter server transport options