Validation Hook for Options

Allow users to add a lambda as a validation hook before the daemon is forked.