test: fix tls-honorcipherorder slowness

End accepted stream to prevent client fd from hanging in FIN_WAIT_1
state. The 30 second delay was caused by default non-zero SO_LINGER.
v8: unbreak freebsd build

reland de8c0a5

Fixes #7020 and #7021
dgram: pass the bytes sent to the send callback

Fixes #6953