Problem: initialization sequence was wrong

The sequence has to be:

1. get environment variables, initialize mutex and create socket
   reference list.
2. allow caller to set io_threads, max_sockets
3. create context and then sockets

So bundling (1) and (3) together did not work. Now the context is
created lazily at first zsys_socket(), and the _set methods all call
zsys_init().