Fixed opts validation

:prefer_slave strategy added
Merge pull request #11 from fl00r/patch-1

Fixed opts validation