ngrok wrapper as rails middleware