fix eclipse warning
check for both localhost and 127.0.0.1
include headers and host in requests forwarded to local peer
more intelligent sizing of desktop secondary windows