Revert "remove friend class, it was struct"

This reverts commit 56924604b31551febe38f18219e8f06124ad4311.
redefine RoutingSocketPlumber as class
Merge branch 'class-struct' into bsd10