Upd: Performed more stability, added function for request processing, added posibility to shutdown server by sending command from file.