Added optional $output paramater

If set, will save requests and responses to files named
$output_{YYYY-mm-ddTHH:ii}_{request|response}.xml