Add -noRetryAfterConnected and -retry options. These provide optional exit strategies for the default unlimited retry loop.
requiring a well-formed master URL, ensuring trailing slash
[FIXED JENKINS-21892] Update swarm client to send CSRF token
Preventing assertion failure from support-core plugin.
…	WARNING	c.c.j.support.SupportPlugin#writeBundle: Could not attach 'nodes.md' to support bundle
java.lang.AssertionError: class hudson.plugins.swarm.SwarmSlave$1 is missing its descriptor
	at jenkins.model.Jenkins.getDescriptorOrDie(Jenkins.java:1182)
	at hudson.model.AbstractDescribableImpl.getDescriptor(AbstractDescribableImpl.java:35)
	at com.cloudbees.jenkins.support.impl.AboutJenkins$2.printTo(AboutJenkins.java:281)
	at com.cloudbees.jenkins.support.api.PrintedContent.writeTo(PrintedContent.java:47)
	at com.cloudbees.jenkins.support.SupportPlugin.writeBundle(SupportPlugin.java:335)
	at com.cloudbees.jenkins.support.SupportPlugin.writeBundle(SupportPlugin.java:253)
	at com.cloudbees.jenkins.support.SupportPlugin$PeriodicWorkImpl$1.run(SupportPlugin.java:750)
	at java.lang.Thread.run(Thread.java:701)
Use latest releases of commons-codec, args4j, and remoting
Switch from end of life Apache commons httpclient to Apache httpcomponents httpclient

Refer to end of life: http://hc.apache.org/httpclient-legacy/index.html
Name needs to be escaped
[FIXED JENKINS-22730] Bump remoting to match Jenkins LTS

Swarm nodes are offlined by Jenkins with the following message:

    "This node is offline because it uses old slave.jar"

Therefore we bump the version of the remoting library to match the one
used in Jenkins LTS (1.544.1).
Merge pull request #14 from mindjiver/JENKINS-22730-swarm-plugin-seems-to-use-old-slave.jar-for-Jenkins

[FIXED JENKINS-22730] Bump remoting to match Jenkins LTS
[maven-release-plugin] prepare release swarm-plugin-1.16
[maven-release-plugin] prepare for next development iteration
Correct indentation

Replace tabs with spaces.
Merge pull request #4 from vergoh/master

Client side options for changing retry behaviour
Merge branch 'csrf' of https://github.com/sjka/swarm-plugin into sjka-csrf

Conflicts:
	client/src/main/java/hudson/plugins/swarm/Client.java
Merge branch 'sjka-csrf'
Merge branch 'master-update-versions' of https://github.com/MarkEWaite/swarm-plugin into MarkEWaite-master-update-versions

Conflicts:
	client/pom.xml
Merge branch 'MarkEWaite-master-update-versions'
Update to latest releases of dependencies

httpcomponents from 4.3.3 to 4.3.4
remoting from 2.36 to 2.44
args4j from 2.0.26 to 2.0.29
Merge pull request #15 from MarkEWaite/master-use-latest-releases

Update to latest releases of dependencies
Revert "Switch from end of life Apache commons httpclient to Apache httpcomponents httpclient"

This reverts commit 5a061e2cc33ac11e295b6cd3f8e06dbdbeddbe5c.

It's not possible to start the swarm client with the new HTTP library:

$ java -jar ./client/target/swarm-client-jar-with-dependencies.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/httpclient/HttpMethod
          at java.lang.Class.getDeclaredMethods0(Native Method)
          at java.lang.Class.privateGetDeclaredMethods(Class.java:2531)
          at java.lang.Class.getMethod0(Class.java:2774)
          at java.lang.Class.getMethod(Class.java:1663)
          at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
          at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.httpclient.HttpMethod
       at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
       at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
       ... 6 more

Conflicts:
	client/pom.xml