Netlib is a collection of common utility functions, used by the pathod and mitmproxy projects.