agent: New OPTION pretend-request-origin
* common/shareddefs.h (request_origin_t): New. * common/agent-opt.c (parse_request_origin): New. (str_request_origin): New. * agent/command.c (option_handler): Implement new option.
This allows to pretend that a request originated from the extra or
browser socket.
- Signed-off-by: Werner Koch <wk@gnupg.org>