private boolean hasFileDescriptor(Socket s) {
        try {
            // If socket has a file descriptor we can use it directly
            // otherwise we need to use the engine.
            Platform.getFileDescriptor(s);
            return true;
        } catch (RuntimeException re) {
            return false;
        }
    }
Configures the socket to be created for this instance. If not called,
{@link #useEngineSocketByDefault} will be used.
common/src/main/java/org/conscrypt/OpenSSLSocketFactoryImpl.java