Move generic command line API to test package
Initialise client API sockets before PID file
Add proc files for http server & mdp udp ports
Allow creation of unbound MDP socket for future command use