allow specifying additional conditions for policy
make SSL optional
Merge pull request #58 from cmer/configurable-ssl

Added option that makes SSL optional