[Fixes #926] Protocol & Host name ignored when creating action link

/cc: @rynowak @dougbu 
give this some formatting love indent all but the first line