Add OPTIONS unit tests checking behaviour for loopback address/localhost domain
Bring some sanity to handling of Route headers in unit test code
Add edge proxy test case to check that route headers are used even when Request URI is loopback address