vhost: add user callbacks for socket open/close