lep: create sockets early

I'll replace it with `AF_???` or `AF_UNSPEC` to make it clearer.