Socket: replace accept() with non-blocing accept4()