Update chat.php

It was not clear that the example required /chat appended to the connection url. It looks like someone used an echo chat as a boilerplate but did not full convert the comments so it could be better understood.
Merge pull request #21 from DannyWilkerson/patch-1

Update chat.php