Better request header parser