Added feature to allow custom headers to be added to connection\