Returns IoSession which is the result of connect operation.
Returns true if the connect operation is finished successfully.
Sets the exception caught due to connection failure and notifies all threads
waiting for this future
Sets the newly connected session and notifies all threads waiting for this
future. This method is in