Add proper config file for TCP and local sockets.