better socket handling. Will log added items.
removed uninteresting info