API: Fetching the application name of the client.
Merge pull request #1168 from annando/1409-application-source-name

API: Detecting the source name of the application