client: add api
client 的 API 设计
rename client.{cpp,hpp} to base_client{cpp,hpp}
add lib for common shared code by client and server