Fix Issues #93 - Undefined is not a function for client-ws impl

Closes #93