1.0.9 compatibility

- v4 protocol support
- removed heartbeat
- changed deprecated query to querySelector
- changed dart import json to convert