Fixed up for use with Free Pascal, topics and payloads longer than 255 bytes, reliable improvements.

Most of my changes are described, at least in outline, in the last commit. I will email.

Sadly the diffs below show all lines changed in MQTT.pas and MQTTReadThread.pas. It's not so bad! I found the best way to view my changes is with kdiff3.