Prepare sockets for Dekel.
partial sockets implementation
Fix merge