Add nn_connect.

Signed-off-by: Alex Brem <alex@fluktuation.net>