Remove dev console.log's, fix x-real-ip header handle