Support for the outbound 'validate' function.

This is meant to resolve issue #5.