Modified getEntryXmlDoc to always create empty content element; Modified net.py to allow extra headers to be passed in to rest methods