Fix for fx-140. Reduced number of socket calls by buffering
Merge pull request #25 from syegres/fixfor_fx-140

Fix for fx-140. Reduced number of socket calls by buffering
Fix8ified FX-140