SerBasic server/client functionality