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

/cc: @rynowak @dougbu 
use the same namespace as the class under test