Fixed translatting http method string to enum and added version conversion from int to enum