small refactor and added method to push a header for xstmp-api
small refactor and added method to push a header for xstmp-api

devton/user_notifier,diogob/user_notifier,diogob/user_notifier,devton/user_notifier,diogob/user_notifier