Update chat.php

It was not clear that the example required /chat appended to the connection url. It looks like someone used the echo chat as a boilerplate but did not fully convert the comments.