Added protobuf failure handling and refactored protobuf client