Now supports all HTTP verbs except CONNECT.
Now allows nil as a manager rather than XhrIo.
Removed codec function (unnecessary)