Update netlib to allow different encoding systems