Re: decent optical switch?
go here for information on the best value audio optical switches.
It may send you in the right direction.
Other than that, find a way to anchor your cables so that there is no
strain on the sockets, instead on the points of anchorage.