Improve whitelist security

Fixes #11
Removes useless "www" check and adds "http:" and "https:" checks