socket implementation main part done
sockets functioning, added device and hub tracking as well as interface improvments