Change prototype
Use return, not continue, when not in a loop
The clientHandler seems to be work-in-progress