Mediamosa sdk

fixed the sdks cookie handling so it works with the zend debugger turned on.