Added missing 'host' parameter. GitHub #246