fixed the null values from fields during socket reading
Merge pull request #2 from mhishami/master

Changed the null field values error during socket reading