Copied from https://github.com/fortio/fortio/tree/master/fgrpc under Apache License 2.0  https://github.com/fortio/fortio/blob/master/LICENSE