Added function that extends RPC server with HTTP compression support