Payloads cause disconnects (solution provided as gist) fixes #65