Breaking change - Remove apiURL. Add apiDomain init parameter that respects 'secure' setting for determining SSL.