allow specifying host in options