Synchronisation ready.
two small fixes
Merge pull request #11 from vankatwijk/ServletConnection

Synchronisation ready.