fixed `spawn_io` with host + port signature