Allow file '-' as stdin
Accept socket fd to be == 0