Fix RPC over SSL