TRESTLE HOLDINGS, INC. UNIT PURCHASE AGREEMENT UP TO 2,600,000 UNITS OF COMMON STOCK Dated as of December 23, 2004