Made HTTP/1.x to HTTP/2 tranlation a bit more robust