Adding a setter for "host" to allow forcing the host value in buildApiUrl

@thoop Per our email discussion, I've added a field to sidestep the host-clobbering issue (in much the same way as we do with protocol) and force the value. Submitted for your consideration.