mher: Fixed minor issues. The init function now checks if tlp_version is either 'tcp' or 'udp'. The tlp_version value is now correctly used everywhere. Tested to ensure it works.