Fix recalculation of sending socket after local route

Take into consideration the "force_send_socket" setting in local route.

(cherry picked from commit d37ae664dcfd9a5f83de62a493628ba12d495e75)

Conflicts:
	modules/tm/uac.c

(cherry picked from commit c8a7e26d3c7b5bdfda06dacdc036bedc44f1e2cb)