Update GbxRemote.php

first check if socket is open, than set write buffer
Merge pull request #2 from kremsy/patch-1

Update GbxRemote.php