MSDN has an article explaining the whole thing. It describes the registry entries you need to set up, and it describes the command line that Internet Explorer will use to invoke your program.
There's nothing to prevent you from writing a protocol handler in any Delphi version you want.