Fix recalculation of sending socket after local route

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

(cherry picked from commit d37ae664dcfd9a5f83de62a493628ba12d495e75)