Place header, data in buffer to be sent

Initial functionality to place the header data inside of a char* buffer
to be sent through a socket, followed immediately after by the actual
fft data.