add warning about calling socket_send on empty buffer
also convert the !! SEND Error to a logger.error()