Application-Id is not a mandatory header.

See: doi:10.1016/j.websem.2013.11.002
Move header-body delimiter to the serializer method
Use auxiliar method for improved code readability
Take into account extra headers
Include the body in the Event serialization