fixed protocol and ipversion support
cleaned handling defaults