Set AWT as headless when ZAP is in a headless mode
Set AWT as headless when ZAP is in a headless mode

Change class HeadlessBootstrap to set AWT as headless, to ensure that
daemon and command line modes fail always to use view components that
require a display, not just when there's no display available. Allows to
detect (wrong) use of view components more easily (HeadlessException is
thrown even if there's a display available) when in daemon and command
line modes.

zapbot/zaproxy,meitar/zaproxy,zapbot/zaproxy,kingthorin/zaproxy,lightsey/zaproxy,zaproxy/zaproxy,rajiv65/zaproxy,gsavastano/zaproxy,gsavastano/zaproxy,Ali-Razmjoo/zaproxy,psiinon/zaproxy,gmaran23/zaproxy,zaproxy/zaproxy,mustafa421/zaproxy,zapbot/zaproxy,kingthorin/zaproxy,Harinus/zaproxy,zapbot/zaproxy,zaproxy/zaproxy,Harinus/zaproxy,rajiv65/zaproxy,lightsey/zaproxy,thc202/zaproxy,rajiv65/zaproxy,zaproxy/zaproxy,NVolcz/zaproxy,thc202/zaproxy,zaproxy/zaproxy,psiinon/zaproxy,thc202/zaproxy,meitar/zaproxy,Ali-Razmjoo/zaproxy,gmaran23/zaproxy,gmaran23/zaproxy,gmaran23/zaproxy,NVolcz/zaproxy,thc202/zaproxy,psiinon/zaproxy,zaproxy/zaproxy,NVolcz/zaproxy,Harinus/zaproxy,NVolcz/zaproxy,zapbot/zaproxy,rajiv65/zaproxy,thc202/zaproxy,kingthorin/zaproxy,kingthorin/zaproxy,meitar/zaproxy,kingthorin/zaproxy,gsavastano/zaproxy,Harinus/zaproxy,lightsey/zaproxy,thc202/zaproxy,NVolcz/zaproxy,gmaran23/zaproxy,Harinus/zaproxy,JordanGS/zaproxy,Ali-Razmjoo/zaproxy,gsavastano/zaproxy,JordanGS/zaproxy,mustafa421/zaproxy,rajiv65/zaproxy,JordanGS/zaproxy,gsavastano/zaproxy,NVolcz/zaproxy,psiinon/zaproxy,gmaran23/zaproxy,meitar/zaproxy,Ali-Razmjoo/zaproxy,Ali-Razmjoo/zaproxy,mustafa421/zaproxy,mustafa421/zaproxy,psiinon/zaproxy,NVolcz/zaproxy,rajiv65/zaproxy,meitar/zaproxy,kingthorin/zaproxy,lightsey/zaproxy,rajiv65/zaproxy,meitar/zaproxy,lightsey/zaproxy,psiinon/zaproxy,meitar/zaproxy,Ali-Razmjoo/zaproxy,mustafa421/zaproxy,psiinon/zaproxy,JordanGS/zaproxy,mustafa421/zaproxy,meitar/zaproxy,JordanGS/zaproxy,kingthorin/zaproxy,lightsey/zaproxy,Ali-Razmjoo/zaproxy,mustafa421/zaproxy,gsavastano/zaproxy,JordanGS/zaproxy,zaproxy/zaproxy,JordanGS/zaproxy,zapbot/zaproxy,zapbot/zaproxy,lightsey/zaproxy,gmaran23/zaproxy,Harinus/zaproxy,Harinus/zaproxy,thc202/zaproxy,gsavastano/zaproxy