Fixed UNEXPECTED_FRAME error
Merge pull request #218 from grongor/fix_empty_body_error

Fixed UNEXPECTED_FRAME error