code style fixes
renamed Handler interface to ProtocolHandler