I am not aware of a reliable mechanism at present, but I would greatly appreciate any hints.
If there is not an existing mechanism, I'd like to add something prior to 2.2 APIs being cast in stone.
The local port on the socket is ourselves, with the remote address being something else? That might point you in a sounder direction (there are probably some caveats to that though: i.e. local proxies). -- justin
