Changes necessary for Exchange Web Services 2010

Tested and works against EWS 2010. Original lines left intact, commented out.