Added the listener debugger from the book for others to use.
Added the registration hostname agent and reg listener.