Added more robust allowed protocol checking via a PROTOCOL_SEPARATOR constant in whitelist.rb.
Merge pull request #52 from kaspth/robust-separator

More robust protocol checking.