Improve socket reboot
Multi-dimensional numpy array support