Cleaning up the Nginx parser code and starting to add test cases around the Parse method.