Added connectClient and connectServer interfaces