I had a similar problem with my new Samsung smart tv, which has the ethernet jack pointed straight out the back of the TV. What I did was remove most of the strain relief off of the back of the rj45 connector on one end of a cat 5e cable. This allows the cable to bend almost immediately behind the rj45 connector. With a couple of small cuts with an exacto knife, the plastic strain relief peels right off the cable quite easily which significantly reduces the clearance required. Just be careful not to pierce the cat 5e cable itself. This solved my problem immediately, cost me $0 - and the cable works just fine.
One of TV's HDMI cable jacks already came out flat into a recess (I only needed one) and the power plug had an immediate right angle - so this was the only clearance issue...
...Maarten