Add an API server and associated commands for managing proxy/balancing config for a server

First phase of router API.