fix ssl race condition

It seems tehre is a race confition while giving the control of the socket to a
new process with ssl. For now fix it by giving the control to the pool once we set
the active option. fix #130