adding some request debugging code and changed local server to listen on your ip.

Change-Id: Ib4358c14ebd4c419ecc1124abc18430e2de45e3e