fixed to work properly with the new mongoose API

MG_POLL events might be received before MG_REQUEST events when the connection_param
hasn't been created yet. In such cases we need to return MG_MORE because returning MG_TRUE
would make mongoose think that output has been completed and the connection can be closed as soon as possible,
which results in truncated responses if the data is not local and is still being downloaded from a peer