Added socket ids and simple pirate client