Add a http proxy as middleware