Use thread local for storing connection pool

This allows multiple threads to issue commands to the same SSH host. Each thread gets its own connection pool. Solves #99.