Fix and cleanup HTTP Method Parsing