Add support for direct messaging of optional selectors
And new tests for optional and oneway selectors.