Automatically set the origin when not manually set
Automatically set the origin when not manually set

We still need the option to manually set it because it is impossible for
the core to infer the 'whom' component of the origin resource identifier
as that information is agent specific. This provides the sensible
default for everybody else though (the origin with no whom).

Halibot/halibot,Halibot/halibot