ews-subdirectoryp convenience function
found a confounding POST example
cleaned up header/param parsing