Added xservefn and xclientfn and improved output of connection info