Changes required for Travis build

explicit socket imports mostly