Define constants for the size of protocol.h data packets.
Add logging code to frontend.
Re-add HIDPad::Interface::FinalizeConnection, the vtable wouldn’t be ready for calls to GetVendorName otherwise.
Changes:
	Add some logging to the backend code.
	Lock stdout before issuing the three printf calls that are used to compose a log message.