bugfix (IITCm crashed if an unvalid URI was given)
Merge pull request #7 from jonatkins/master

bugfix (IITCm crashed if an unvalid URI was given)