change Set to Map for handlers in server and client core.
add ssl to RPC command.