net: Add sk_set_socket() helper.