Removed tests for tcp server. 

Tests of tcp server were removed. Instead of that is used builting server. It is emulates connection between client and server and client-server communications can be tested without real networking.
Some headers were sorted alphabetically.