At the office we have a proxy. The System Administrator set the proxy automatically, so we don't know the user/password.
I can't use the update tool because I don't know the proxy settings, but if I could use System proxy it will works.
Use have this option in Netbeans. Please, just copy the code from there and insert it in the tool.
You even have the code when you download and install the update tool from the command line.