http: fixed sending code refs
better show full error
added remote_name option to http peers