Adding support for the API-POPULATE header, wich specifies either a string to pass to the .populate() method, or an object with a \.document string property (required) and a \.fields array (optional)
Adding support for query fields, bug fi to the populate() handler