wip
Merge branch 'dev' of https://github.com/nategood/httpful into dev
Cleaning up and adding tests for Pull Request

Unit tests added
Slight code refactor to make smaller atomic unit