Embedded TCP server... work in progress