Add examples for SocketAdapter usage