Add option to disable redirect when connected

Update docs

typo

Tabs to spaces

Increase test coverage

Fix indentation
Add doc
Merge pull request #220 from davidwindell/feature-disable-redirect

Add option to disable redirect when connected