Update to fix command line error

If called from a command line application, the HTTP_ACCEPT $_SERVER attribute is not found and causes an error.
Merge pull request #9 from laravelian/master

Update to fix command line error