Fix crash in getVisitorId when user-agent is absent from request.
Merge pull request #1 from mbelshe/master

Fix crash in getVisitorId when user-agent is absent from request.