Add support for instance-specific API keys in APIInterface. Fallback to APIConnection globally-set keys if unset.
Also lay down some groundwork for switching to HTTPS for queries.