Rewrite algorithm to handle sandboxes inside 'http://127.0.0.1/'

Add a description of Rewrite algorithm to handle sandboxes inside 'http://127.0.0.1/'