Solenoid fix and initial websocket code
Websocket library