Direct assignment mistake.
Fixing parse Header and parse Uri methods. Adding tests.