use constant Buffer for message termination
don't include header for successive chunks for same message
adjust content length instead of performing at most two additional calculations every chunk for send()
test: separate out message parsing from message generation
test: add message generation tests