Add argument to upload-api:replace if exist
Merge branch 'poet' into 3.0
[net] add initial support for reopening logfile
Merge branch '3.0'