Added client and server header files.
Finalized the first revision of the client API. It's looking good now.