Default and custom headers for requests

Adds test and fix for overridden default headers when providing custom headers for requests

![jrznzsu](https://cloud.githubusercontent.com/assets/492335/5085077/8242b93c-6f0e-11e4-9dcf-e6e13aadf361.gif)