Working HTTP header parsing