removes code duplication; fixes #12
fix utf bom for codeclimate
fixes #16 - add express@3.15.2 as a dependency
fixes #17 - strict equality checks on both null and undefined

also replaces string concatenations with `util.format()` to
better handle null strings
fix for handling network errors when proxying
logger refactoring
support for url rewriting the proxied urls

implements #8