Added PLSocketServer and implemented log test for delegate