HttpServer: Only send 404 when the root node didn't do it.
RestfulHttpNode: Changed API to be more flexible

Users can now re-implement serializeVariant() to convert their own
types if needed. This introduces a API/ABI break.