Return the appropriate HTTP status code when running on windows

The HTTP 7xx RFC specifies an error code when applications are run on
windows: https://github.com/joho/7XX-rfc. This commit brings puppetdb
into compliance with that RFC.