I just changed this part yesterday. No socket and it works. - See this thread. Try not to heat it up more than necessary, but this should be standard practice anyway.
BTW, I used a CNY17-3 instead of a CNY17G-3 because it was readily available.
As you can see, I'm following the same general...