refactor message dispatching
better handling of stop command for misbehaving servers
Release 0.5.0