bugfixes wrapped response callback in mainqueue, urlencoded, json content-type check