adding ability to delete message with Ids class

It's not really an IOException. Maybe IllegalArgumentException?