in reply to load binary at runtime
Under macOS, the magic environment variable is DYLD_INSERT_LIBRARIES. You point it to the library you want preloaded and it should load that library instead of libssl.3.dylib.