Use string formatting while making HTTP stream packet