afserver: msg dispatch queue in each container, and no common functions for it
afanasy: socket timeouts for winnt
afanasy: server connect timeout is configurable
code refactoring