dont use resolving when using default bind_addr
removed that unneeded classname
added set_sock_opt(...)