NTFY-22

Added a function to get the origin field from a request using a variety
of approaches