Fix bugs in client library
Experimental server link capability