sockets.d: handle unsupported address families; print address/port details in accept; refactor