Moved some networkstuff into BorgNetLib