Since commit fd7edd3 ("MINOR: Move http method enum from proto_http to sample") proto_http.h needs to include sample.h. This can be backported to 1.6 though it doesn't affect existing code.
fd7edd3