Revert "cot: messing with sockets (still doesn't work)"

This reverts commit 63e0003b791935596e9fb9c353d874b60d7a225e.