[added] socket to constructor.