Changes to the Unit Tests - and clearing up warnings.

Adding a header from the mock server to the Connection project. Allows it to be used as a more targeted import.

These are independent of the pull request that I've just made to your MockServer repository.

An extra commit added that removes an analyser warning.