Pass Logger to client and server constructor.