fixed PUT and DELETE parsing, added jsonp support