Added http checks for im

Closes #575