Also allow HTTP 1.0 and make the if statements less ugly

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>