Updated sample SWORD client.