Fix segmentation fault during socket reading
Fix segmentation fault during socket reading

We were trying to malloc using realloc without initializing
buffer pointer to NULL

sauloqueiroz/incremental-spf,sauloqueiroz/incremental-spf,sauloqueiroz/incremental-spf,sauloqueiroz/incremental-spf