ssa.c: Fix for commit: 73dfb02

ssa.c: Handle opened upstream connection if a new parent is received

 - If the old and new parents are equal and connection is alive, just
   go to CONNECTED state.
 - If the parents are different, close existing upstream connection.