A high rejection transition radiation detector prototype to distinguish positrons from protons in a cosmic ray space laboratory