Ooooops, build.xml typo
Bugfix - changed how the socket connection is handled.  Partly, this was to improve readability, but also to avoid the error of multiple callbacks coming back which had been seen on some calls.  All callbacks are handled when the close event is heard