chore: drop unused function and internal header
style: inline swap and move ctor for request

This decreases library size by 28KB!
style: use C constant instead of C++ <limits>

And drop unused <new> header.