Add simplified monitoring api

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

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

Add sample php api client

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>