add :host_with_port option
version up to 0.0.16