set user custom agent + some refactoring
added new conf. file option "set-ipv6": true | false
updated