Fixed logic for connection, still does not go through netemu and is hardcoded but logic is complete