Allow custom headers to be set

This allows custom headers to be set on when a Net object is initialized.

Example usage: https://gist.github.com/JonathanPorta/e1adc7962504d3f965a6