gbox: Fixes for connection issues.

Patch by Eggy123.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8400 4b0bc96b-bc66-0410-9d44-ebda105a78c1