Deprecate endpoint_proto

Deprecate endpoint_proto and move to use endpoint_protocol instead