Adds socket controls.