TX officer gives valuable gift to homeless man