Extending Envoy for custom use cases
The Envoy architecture makes it fairly easily extensible via both network filters and HTTP filters.
An example of how to add a network filter and structure the repository and build dependencies can be found at envoy-filter-example.