A pipe inside a pipe as heat exchanger is not a complicated task. many text books of heat transfer can be useful for design it. Of course the global heat transfer coefficient determination has an uncertainty of about 20% but that is normal in heat exchangers.