updated client and server to support transfer of image data over the network.
updated bufferclient to use direct memory access to avoid copying to and from RAM.