detail/connector: static_assert if invalid transformation is used
move segment.hpp to detail/
detail/connector: fail earlier if no match found