sanitize socket buffer to remove premature null chars. closes #219
Merge pull request #248 from DemiReticent/nullchar

Issue #219: Fixes issue with null chars read from Maxima