Messing around with a simple HTTP implementation in C