Added socket log handler example