Added 'headers' option to server config
Added 'headers' option to server config

Also added a few extra error messages for incorrect configuration.

joostvunderink/angular-jsonrpc-client,joostvunderink/angular-jsonrpc-client