Fixed handling HTTP/1.0 response without Content-Length header.
Replaced asynchronous sockets with those from Madoka.