add ShipConfirm method

very partially tested
remove useless import
fix rate tests
fix offline tests for ship-confirm