Fix: add missing errno to handle non-blocking connect()

Fixes #16

Reported-by: adrelanos <adrelanos@riseup.net>
Signed-off-by: David Goulet <dgoulet@ev0ke.net>