When queueing the first PDU to an idle socket, immediately try to write it to the socket instead of waiting for the event-loop to timeout/notice there is work to do. Various other small bugfixes. Signed-off-by: sahlberg <sahlberg@r10-0-1.rocky10.sahlberg>