Fixed NPE when HTTP request, response or session modules are not available (e.g. when the db runs embedded.)
Fixed NPE when HTTP request, response or session modules are not available (e.g. when
the db runs embedded.)

svn path=/trunk/eXist-1.0/; revision=4380

joewiz/exist,patczar/exist,RemiKoutcherawy/exist,eXist-db/exist,opax/exist,ambs/exist,wolfgangmm/exist,jensopetersen/exist,ljo/exist,eXist-db/exist,opax/exist,lcahlander/exist,lcahlander/exist,jensopetersen/exist,jessealama/exist,adamretter/exist,jensopetersen/exist,wolfgangmm/exist,olvidalo/exist,windauer/exist,hungerburg/exist,zwobit/exist,wshager/exist,jessealama/exist,patczar/exist,shabanovd/exist,zwobit/exist,hungerburg/exist,wshager/exist,wshager/exist,wolfgangmm/exist,kohsah/exist,adamretter/exist,shabanovd/exist,ljo/exist,jessealama/exist,shabanovd/exist,opax/exist,zwobit/exist,wshager/exist,joewiz/exist,ljo/exist,adamretter/exist,adamretter/exist,olvidalo/exist,dizzzz/exist,ambs/exist,ambs/exist,hungerburg/exist,olvidalo/exist,RemiKoutcherawy/exist,wolfgangmm/exist,olvidalo/exist,dizzzz/exist,lcahlander/exist,MjAbuz/exist,RemiKoutcherawy/exist,joewiz/exist,jessealama/exist,eXist-db/exist,MjAbuz/exist,wshager/exist,patczar/exist,MjAbuz/exist,ambs/exist,zwobit/exist,shabanovd/exist,dizzzz/exist,windauer/exist,RemiKoutcherawy/exist,RemiKoutcherawy/exist,ljo/exist,MjAbuz/exist,MjAbuz/exist,jensopetersen/exist,windauer/exist,windauer/exist,joewiz/exist,joewiz/exist,ljo/exist,wshager/exist,ambs/exist,hungerburg/exist,kohsah/exist,ambs/exist,zwobit/exist,MjAbuz/exist,joewiz/exist,eXist-db/exist,jensopetersen/exist,patczar/exist,wolfgangmm/exist,olvidalo/exist,shabanovd/exist,opax/exist,wolfgangmm/exist,adamretter/exist,dizzzz/exist,dizzzz/exist,eXist-db/exist,windauer/exist,kohsah/exist,jessealama/exist,eXist-db/exist,jensopetersen/exist,lcahlander/exist,kohsah/exist,shabanovd/exist,adamretter/exist,zwobit/exist,lcahlander/exist,dizzzz/exist,opax/exist,RemiKoutcherawy/exist,ljo/exist,patczar/exist,kohsah/exist,lcahlander/exist,windauer/exist,hungerburg/exist,patczar/exist,kohsah/exist,jessealama/exist