Properly returning request for cowboy