Only parseHTTPHeader when method is POST

Later add support for other headers as well