add libafpclient