update websocket example, using __DIR__ instead of deprecated __FILE__
Merge pull request #192 from dm1try/update_websocket_example

update websocket example, using __DIR__ instead of deprecated __FILE__