Fixes for nsa_pipe() (#383)
Fixes for nsa_pipe() (#383)

* Bugfix: let nsa_socket_internal() chose the FDs for the pipe.

* Fixed include.

* Initialize socket API before trying to create pipe. Fixes bug #380.

* Bugfix: added missing initialisation.

NEAT-project/neat,NEAT-project/neat,NEAT-project/neat,NEAT-project/neat,NEAT-project/neat