Proxy function tests

This includes a couple of pending tests for stuff that hasn't been implemented yet (Host header munging, and Via header support)