add fopencookie

See https://issues.dlang.org/show_bug.cgi?id=13755
Tried static, seems to work. Thanks.