adding is open functionality
adding webSocketWrapper
solving issue with websocketwrapper sending