socket: check also array size after event processing
socket: fixed array remove_at to move a pointer
array: clear unused array slots after remove
socket: fixed array to realloc pointers not elements
Merge pull request #107 from mtomaschewski/mt-socket

socket: check also array size after event processing