Create connect.cpp

connect script that can test the sock.cpp functionality along with listen.cpp