fixed bugs in WsServer and WsFrame .. still is not stable