Added support for passing through Accept header.
Merge pull request #1 from colinbate/master

Added support for passing through Accept header.