Some little URI parsing

Signed-off-by: Alexander Kluth <contact@alexanderkluth.com>