Make pid files backwards compatible and add address of listening socket.