Removes host parsing code
Adds parsing and unit test coverage
Corrects type hint
Adds and updates phpdoc
Merge pull request #14 from jeremykendall/psl

My updates to Paul's psl updates