Added Socket class.