Faster line parsing.
Fixed bug where system would only process one line out of every packet received from a client.
This meant that if there were several lines in a single transmission they would be ignored until the next
transmission was receivedm resulting in an ever increasing delay between receiving and processing.

	modified:   SubProtocol.cpp
	modified:   TcpServer.cpp
	modified:   TcpServer.h
Light manager destructor.
Added code to automatically turn off all lights when the destructor is called.