added check for http 0.9 protocol