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.