Any person subject to this chapter who, without proper authority, releases any prisoner committed to his charge, or who through neglect or design suffers any such prisoner to escape, shall be punished as a court-martial may direct, whether or not the prisoner was committed in strict compliance with law.