Reverting changes to socket exposure.
Reverting changes to socket exposure.