sockeio preparation