Added optional args for open-port and open-channel-port; testing stubs