Upload using websockets (incomplete)