freerds: start taking out bitmap encoder from core network code