Added some crazy regex to validate IRIs

@todo still need to test this.