Fix issue with wrong message length in case of message framing for
jsonp-transport