added loading of socket on boot
added loading of socket on boot