Reset stratum_notify flag on suspend_stratum as well.
Do not continue work from a stratum pool where the connection has been interrupted.
Clear the stratum socket whenever we are closing it since the buffer is going to be reused.
Clear just the socket buffer when we don't care what is left in a stratum socket.
Revert "Cope with out of order messages coming in upon attempting to auth_stratum."

This reverts commit 237f67c6178bd8f4c5e9f807cdf9a010d17e9684.
Check all pools simultaneously at startup switching to the first alive one to speed up startup.
Allow pools to be resuscitated on first startup by the watchpool thread.
Clear the pool idle flag only on the pool chosen at startup, allowing it to be cleared by the watchpool thread for the other pools.
Revert "Clear the pool idle flag only on the pool chosen at startup, allowing it to be cleared by the watchpool thread for the other pools."

This reverts commit 370e8fc8626fd370fedbea53f433cf89c8195a59.
Perform pool resus on pools that were not set as the initial pool at startup.
Add a pool_unusable function which checks if a pool is stratum but not active to use within switch_pools.
Find the first usable pool in preference to the current pool in select_pool for work.
Only bypass unusable pools if they're not the selected ones.
Rollback breakage to 81567e515707891837f52bc3aac7d5916dfff5a2
Clear the socket of anything in the receive buffer if we're going to retry connecting.