James, as requested the attached patch is merged with 2.1alpha3. The patch:
* Adds a new --bind option to compliment the existing --nobind options. Implicit bind/nobind defaults are left unchanged. * enables --local and --lport on tcp-client connections * fixes a bug with the local_port value passed to scripts/plugins - previously this was incorrectly set to the default port if nobind was used - the patch sets it to '0' in this case. * Also, the patch adds passing of http/socks proxy address and port information to scripts/plugins. * Updates to manpage and help to reflect the changes in the patch. Rgds Ewan
tcp_bind.diff
Description: Binary data