Merge pull request #334 from yujiosaka/master

check enablesXDR option when Request.hasXDR is called just in case