Extended client.js for messages suffixed with SoapIn/SoapOut