Ports of entry.
It shall not be lawful to make entry of any vessel which shall arrive within the United States, from any foreign port, or of the cargo on board such vessel, elsewhere than at one of the ports of entry designated in chapter one [R. S., 2517-2612] of this Title [R. S., 2517-3129]; nor to unlade the cargo, or any part thereof, elsewhere than at one of the ports of delivery therein designated, except that every port of entry shall be also a port of delivery. This section shall not prevent the master or commander of any vessel from making entry with the collector of any district in which such vessel may be owned, or from which she may have sailed on the voyage from which she shall then have returned. (R. S., 2770.)