wscat and upload events