SCRIPT_NAME should be used to correctly construct the returned links.
This patch also adds ProxyFix from werkzeug to allow using inspector
behind SSL terminating proxy while still keeping the links correct.
Change-Id: I4f40e9266a55d237f7aa68324b11f59b667cc940