Add API proxy route [issue #819]