Update msg.c

Merge updates from jgarzik - Added ArtForz's Longpolling