Added a withCredentials property to the connection.start config to allow for cookies to path via cross domain.

- This can't currently be tested due to us not having infrastructure to support automating tests for cross domain scenarios.

#1735