Introduces AsyncReader and AsyncWriter classes that wrap asyncio reader/writer pairs with configurable buffer sizes and chunked write draining. Also adds a Socket class combining both wrappers for unified stream handling. These changes support more granular control over network I/O in high-latency environments.
Create the foundational project structure for the zamenyat HTTP content replacement bridge, including a Makefile with targets for environment setup, installation, formatting, and building; a pyproject.toml declaring setuptools as the build backend; a setup.cfg with package metadata, dependencies on the internal app library, and a console_scripts entry point; a README.md with a corrected heading and project description; a __main__.py module implementing argument parsing for host, port, upstream-host, and upstream-port; and an app.py module defining the Application class with async header parsing, connection tracking, and configurable buffer/header size constants.
Introduce the foundational project structure for zamenyat, an HTTP bridge for content replacement. The .gitignore excludes Python bytecode, build artifacts, virtual environments, and IDE files. The LICENSE file applies the MIT license with copyright assigned to retoor. The README describes the project as a configurable HTTP bridge enabling content substitution, such as serving real and anonymous versions of a website.