Socket class added