Updates to PHP template
Merge commit '219c9e74f745b6b2eb374132e6755fc1dfef6ac5'

* commit '219c9e74f745b6b2eb374132e6755fc1dfef6ac5':
  implement WebSocket origin checking (fixes #28)
make sure that the timer exists before trying to cancel it
Added error handler
Merge pull request #155 from davidwdan/master

Updates to the PHP template