Don't require word boundary at the beginning of address

Original match failed with addrs like +1234@sms.example.com
Support both File::Type and File::LibMagic

Some older systems apparently don't have File::LibMagic.
Remove trailing whitespaces throughout.
Version 3.4

- Ok, ok, support both File::Type and File::LibMagic