Added printouts for connecting with host. Minor fix in connecting with host.