Add support to receive image from TCP client