Support large query/response (>=16MB) (fixes #145)