- simplify creation of client and server