Revert "add socket"

This reverts commit 372bde2a93d71836bbfc775f24188f29cfbf65fb.