Parses host and full path from uri