Create listen.cpp

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