Started Client-authentication

Added code to client for client authentication, this involved added the
libcurl library to the project and building it. There was several
problems using the static build, so I have used a DLL build.

- Added commands to the application server install script
- Added functionality to the application server web service