in reply to Socket stops at Header not handling Continuation
Im puzzled by your use of 'Continuation',
ie 3 times, capitalized, but not formally defined,
and not mentioned in code except as comment.
have you checked your serverlog for errors ? premature end of script err ?
In Section
Seekers of Perl Wisdom