Working server example
Almost functional bash server