Allow custom headers to be set

This allows custom headers to be set on when a Net object is initialized.