$_SERVER['HTTPS'] = 'on'; XML-RPC server accepts POST requests only.