Simple URI parsing class, stupid and you should not use it.