improve error reporting, esp. netdial

also close target socket immediately on move, and include more details in some exception objects