small fixes
theoretical implementation of DeleteSubscriptions on client and server side, not tested
moved check_status to status_codes.h