Fix '-1' problem in recv
Merge pull request #807 from caiiiycuk/websocket__1

Fix '-1' problem in recv