Update websocket.client.php

added hasMessages() to test if messages are waiting
Merge pull request #20 from sfranzyshen/patch-2

Update websocket.client.php
Update README.md
Merge branch 'master' into react

Conflicts:
	README.md
	phpws/websocket.client.php