improve get() error handling
Merge pull request #4 from timheil/errorhandling

improve get() error handling
allow passive mode to be activated without being connected already

* for dependency injection