Created base for implementing serial io transfer through TCP.