As simple as possible C++17 functional network sockets handling example