Created a hook to modify the connect params.

If after a successful connect.. the connection params need to be
modified in the case of a reconnect, that is now possible via a setter
for the connectParams.