Implementing node-mysql's built-in pooling code. v1.0.3