Added more TCP Server/Client functions + fixes