Fix some spelling mistakes in javadoc
And another couple of spelling mistakes. Sigh.
Add set/getSocketTimeout methods to client. Fixes #2