atox() fix to stop buffer overflow

There was the possibility of a buffer overflow occurring in atox if the
string was longer than the hex array. This was fixed
Some serial control, heartbeat fixes
No more padding drop in router-->server

Before, leading zeros were dropped in raw hex. I changed that so now the
entire raw hex is sent