I have updated the REST Library. A bug fix for the username/password authentication. Forgot to add an & between wsusername and wspassword parameters. Thanks goes to César who pointed this out.
A few other changes but not major.
I am looking into creating another library for SOAP using SAAJ. Initial testing has worked well.