fixed zero'ing pkg buffer, added zero'ing socket data structure