NbN HEB for THz Radiation: Technological Issues and Proximity Effect