Implemented headers and queues on both client and server side