Add maxFreeSockets option to agent