upload socket init