Sockets new memory api