Fix bugs with host & peer code

Previous patch removed call to close() the peer socket in
host_disconnect. Re-added this call.

Fixed issue where peer process wasn't setting its SIGINT handler to
peer_proc_term(), and was defaulting to its parent's (login process)
handler login_proc_term().