Creating a shallow copy of the config object for every connection created by the pool

This prevents changing one connection's config object when other connections changes their config object (by changing its user, for example).

I had a problem with this because I'm using the connection's config.database property to know when to switch users.