Fixed endpoints on case where local and remote addresses are different. Also fixed thread not returning on application exit.
Fixed endpoints on case where local and remote addresses are different. Also fixed thread not returning on application exit.

intel-cornellcup/moog-sim