KNIFE-395: Add support for setting service endpoint type