Fix seg fault on overloaded connection (CPP-167)

Improper static cast and use of pointer in timeout callback
Also removed unused parameter in Pool::maybe_notify_ready()