Dangling pointer fix in cql_connection_impl.hpp

async_write takes pointer to buffer which must be valid until the operation is completed. This code fixes this existing problem in the cql_connection_impl class. This issue periodically caused thread freezing. Now it's fixed.