Revert "using DefaultXmlHttpFactory"

This reverts commit f1f768f764c1c9f50350f4fe14a17feafda7f9fe.