support multiple named apis; add support for default headers, before/after interceptors