Payloads cause disconnects (solution provided as gist) fixes #65
Merge pull request #86 from mennopruijssers/master

fix #65 and #83