what if $this->host is null? should we throw an exception that things are misconfigured? it won't work in that case, so imho an exception will be easier to debug than silently send an invalid request...