Moved refresh client from html meta tag to http header
Fixes #953