WIP: support for post BODY as string or inputstream