Socket changes to work with controlPlayer