Adds hardware reload support to API client and CLI.

Includes a passing test. Also tested it on one of my nodes, and works fine.