added a footer
using pings to keep ws connection alive