pipelining attempt

Here my attempt to implement pipelining in connection.  What do you think? All *integration* tests passed, I still need to work on *client* and *connection* tests.