Revert "Middlewares for Octonode"

This reverts commit 1fbb35a7c33d45185d0dcd54c1e439c41e0d3fd3.