Method name and uri parsing from header