don't always send 500 if couldn't get request

No need to send 500 if connection closed. We may want to send other
responses in other cases (e.g., 400).

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
don't try to filter out invalid http methods

let the backend decide what's valid or not.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
don't remove double slashes and double dots

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
[PATCH] Transfer encoding chunked
Abort early on a bad content length

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>