Sslrpc

Added new RPC protocol: SSL+JSONRPC (rpc directly over ssl)
- Added rpc abstraction layer to allow multiple rpc protocols
- Added generic error type that does not depend on xmlrpc
- Fixed lots of bugs on the way

Closes #689