fix Handler instance reference inside closure

When sending messages through [hoa/websocket](https://github.com/hoaproject/Websocket) using PHP 5.3.26, the following error was occurring:

```
Fatal error: Using $this when not in object context in Hoa/Socket/Connection/Handler.php on line 264
```