Add batch requests support (fix #47 / fix #59)