Fix framing issue in the encode_body() method
Merge pull request #34 from nviennot/master

Fix framing issue in the encode_body() method