Made relayd's handler configurable.
Added echo.