serial: Fix timeout issues.

Patch by manio posted in ticket #3260.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8571 4b0bc96b-bc66-0410-9d44-ebda105a78c1
serial: Add support for network socket connection.

This patch adds support for serial port exposed via a network socket.
This way oscam can connect directly to TCP socket, eg to a ser2net,
netcat, socat or even hardware devices like Moxa.

Patch from Mariusz Bialonczyk <manio@skyboo.net> posted in ticket #3260.

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