libcurl? Old project, actively maintained, used in lots of embedded devices, maintainer understands the needs for stability, no silly rewrites.
It includes http/https/ws/wss client and server code in just a few files (although last I checked, some files are needlessly duplicated in 2 different repos).