Text this: Secure resource allocation in hybrid energy-harvesting relay and full-duplex receiver