updated to latest JASocket API