Add basic QUERY support; improve server error handling