Fixed a bug where large payloads weren't fully decoded.