blake: small cleanup
Add montoring api support

use -b <port> for local telnet, -b <ip:port> for network

default port set to 4048 (4028 in cgminer, 4068 in ccminer)

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Add sample php api client