Parallel radeapclient patch - partial commit 2

New functions to handle: packet list, sockets, IDs, command resolution,
hostname resolution.
(Those are not called in this commit.)