bugfix socket reading
bugfix socket reading

shokai/websocket-client-simple,rpijpker/kerst-2016-localhost,shokai/websocket-client-simple,shokai/websocket-client-simple,steigr/websocket-client-simple,steigr/websocket-client-simple,steigr/websocket-client-simple