Unix implementation of Socket class