Add how to access platform-specific object from socket