fix segment fault when connect command is executed with less than 2 args.

fix segment fault when connect command is executed with less than 2 args.
By Akim, Student No. 124