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.