add accept, listen, and new constructor for socket