Add ns_connect_opt
Check address parsing errors when connecting
Add options to ns_connect, ns_add_sock and ns_bind.
Merge pull request #12 from cesanta/ns_connect_opt

Add ns_connect_opt