Remove threaded server support. And return correct Content-Length header.

Signed-off-by: Darshit Shah <darnir@gmail.com>