Fixing a SM flexible cable connector

I have a Ubiquiti UAP-FlexHD accesspoint and the surface mount flexible cable connector on the Ethernet Board (J16) fell off the board. Any idea how I can fix this?

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0

crwdns2947414:01crwdne2947414:0:

It look like the spacing for contact on the PCB match the contact on the flexible cable. I might try to solder the caber directly on the board but i Think it might melt the cable. My other idea is to remove the cable and use wire wrap to solder directly on both boards.

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

crwdns2934285:0crwdne2934285:0