Addsource jsonrpc

Took out the addsource jsonrpc from the headless addition. @Montellese to review
Are there any other protocols that need to be handled like NFS, FTP or whatever we support?