Adds connection manager

Adds connection manager (= global connection pool) to avoid duplicate connections to the same host when dealing with multiple nsqphp objects