UPGRADE: est and bitos packs for mips64 and SOCKET_ERROR defines