return error codes instead of failing asserts
return error EMEM instead of abort in uv_fs_poll_start
return EINVAL on invalid type in uv_accept
return EINVAL in uv_listen
staged stuff