check for uri scheme when posting messages