Add the basic socket creation/listening code