fixed encoder determining with file parameters and json encoding type
podspec updated
added basic support of multipart response
added support of osx