@Override
    protected SSLEngine createEngine(SSLEngineFactory factory) {
        if (mEngine == null) {
            try {
                String host = mRequest.host() != null ? mRequest.host() : mRequest.ip();
                mEngine = factory.createClientEngine(host, mRequest.port());
                mEngine.setUseClientMode(true);
            } catch (ExecutionException e) {
                NetBareLog.e("Failed to create client SSLEngine: " + e.getMessage());
            }
        }
        return mEngine;
    }
Bind a {@link Request} to this codec.

@param request A request has terminated remote server ip and port.
netbare-core/src/main/java/com/github/megatronking/netbare/ssl/SSLResponseCodec.java