selectedFunction - A function that must be called when the Underlying SSL engine has been selected. The return value of this callback may be a wrapped engine, which must replace the selected engine
Returns:
true if the engine was registered, false otherwise