Add handling of empty share protocol