Socket class header for new improved design