Protocol regex bugfix & Unknown protocol whitelist support

Added hyphens to the regex which checks if the protocol
Added support to for whitelists for protocols other than http and https