Support IP address host

before it supported only hostnames (like PC1, localhost ...)
now it supports also IP address (That was a hard work to work!)
also supports arguments of host and port