Added boost support, tcp server functionality