Turning simplesocket into component.