network: add temporary code to support create connection