basic multisock based dispatcher