Fix websocket long pull (previously returned invalid data and/or segfaulted at next frame)
Merge pull request #33 from celeron55/wsfix

Fix websocket long pull