Remove obsolete code
Fix syntax error
Add HTTP headler to the sample
Store subscriber clients