net: Use list_splice_init correctly

At the end move all elements from sockets_queue to sockets_list but not
vice versa. This error leads to dropping of nodes from reconnection list
in case of timeout.
Merge pull request #519 from euroelessar/master

net: Use list_splice_init correctly