Is there any way to provide local host and port while making a TL1 connection?

Is there any way to provide local host and port while making a TL1 connection?

When a request is made to a remote TL1 device, the webNMS TL1 api to make a connection to submit the request has just 2 input parameters :  the remote device's address, the remote device's port

connection.open(properties.getHost(), properties.getPort());

However, to pass the local  server address and local server port from which a connection is being made to the TL1 device, there is no obvious webNMS TL1 api. Basically I am looking for some api like this:

connection.open(properties.getHost(), properties.getPort(), localServerAddress, localServerPort);

Can this be achieved in any other way using any custom transport providers?