Refactored SSL support

Among other things, restored asyncore functionality when handshaking occurs after a connect.

Note that verisign.com may choose not to respond to START TLS style communication, but google.com seems to be reliable in my hand testing.