Swapped incoming and outgoing network connection detection to be correct.