Replaced foreach calls with iterators
Replaced foreach calls with iterators

Removed commented out lines

Change-Id: Ieccf43a4bb6b06b62acb347777b5481846144d14
Reviewed-by: Steven Ceuppens <5e748651f737dd57a9400119267c23838ccdc0c5@icloud.com>

remimixlr/QtWebsocket,SfietKonstantin/qtwebsockets,pixty/qtwebsockets,pixty/qtwebsockets