Revert "Added interface to allow custom proxy adapter."

This reverts commit ab90ce0c2b2af68f65260ee3a1db0c945008898c.