Change the proxy handler to act like a filter
Move path matching into a seperate class