Updated parent POM
forgot the critical call to "start"
[FIXED JENKINS-9679] Don't depend on commons-codec

After all, we just need base64 encoder.
[maven-release-plugin] prepare release remoting-2.21
[maven-release-plugin] prepare for next development iteration
Jesse's change to add the -secret option.

This mechanism enables the installed JNLP slaves to retrieve the *.jnlp file from the server without using a valid user credential.
Java 1.6 dependency
Use a proper block cipher mode.

If we let each 16 byte block encrypted separately (as in the default ECB
mode), it still reveals too much without even knowing the secret key.
fixup
got these two parameters mixed up
Jenkins
[maven-release-plugin] prepare release remoting-2.22
[maven-release-plugin] prepare for next development iteration
[SECURITY-54] Do not keep appending ?encrypt=true for each retry attempt when using -secret.
[FIXED JENKINS-14803] add options 'noReconnect'
fixing typos
added test code for measuring throughput.

Use this with a delay injection in  the loop back interface:

  $ sudo tc qdisc add dev lo root netem delay 100ms

To reset the delay and bring it back to normal:

  $ sudo tc qdisc del dev lo root

Query current status:

  $ sudo tc -s qdisc ls dev lo
Increasing the window size.

After experimenting and a bit of back-of-the-envelope calculation, I think a modern network would require a larger window size.
doc improvement
Avoid creating a huge Chunk.

Single chunk that uses up the entire pipe window forces the sender to pause until it sees an Ack back.

See the added comment in the code for more details.