Update to latest version of Csocket

Fixes #536