Do not close socket when a Content-Length is 0.  This make the interface consistent: The client is responsible for closing the socket, regardless of the amount of data received.
Do not close socket when a Content-Length is 0.  This make the
interface consistent: The client is responsible for closing the
socket, regardless of the amount of data received.

Restore suport for set_debuglevel call.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator