= io: make sure clientMode is set correctly for engines created by *SSLEngineProvider.fromFunc, fixes #657