forked from such-gitea/wownero
a connection's timeout is halved for every extra connection from the same host. Also keep track of when we don't need to use a connection anymore, so we can close it and free the resource for another connection.
epee - is a small library of helpers, wrappers, tools and and so on, used to make my life easier.