change variable name in funciton of wsClient(#6)

-define ws in wsClient(substitution WebSocket instance variable for ws)
-refactering to changing variable name