In order to not hold on to the hostcache hashbucket locks
excessively, coordinate the repeated drain of the sbuf
in between iterating over all hashbuckets, and if need
be, also while processing a more used bucket.
This may change the output to not give a complete
snapshot in time (it didn't before between hash buckets
either), but seems to be a reasonable trade off
between visibility and excessive locking. The latter
may prevent the use of stored TCPCB data for subsequent
sessions as long as the hostcache dump lasts - either
stalling the session setup, or proceeding with non-
optimal parameters.