Improved HTTP/1.0 support

Signed-off-by: Frank Mertens <frank@cyblogic.de>
Fix for signal handling.

Signed-off-by: Frank Mertens <frank@cyblogic.de>