Allow opt. space between device-id and colon.

 fix elasticsearch/logstash#2101