Implemented the test tool for connect(2).